package suncertify.db;

/**
 * Thrown when the access to the database file fails. Possible reasons:
 * 
 * <ol>
 * <li>The database file does not exist in the file system.</li>
 * <li>The file exists but a <code>java.lang.IOException</code> is while the file is being read.</li>
 * </ol>
 * 
 */
public class DatabaseAccessException extends Exception {

    /**
     * Automatically generated serialization version ID exception.
     */
    private static final long serialVersionUID = 3643475955151805181L;

    /**
     * Constructs the class with the specified message and cause.
     * 
     * @param message
     *            The detail message (which is saved for later retrieval by the {@link #getMessage()} method)
     * 
     * @param cause
     *            The cause (which is saved for later retrieval by the {@link #getCause()} method). (A null value is
     *            permitted, and indicates that the cause is nonexistent or unknown.)
     */
    public DatabaseAccessException(String message, Throwable cause) {

	super(message, cause);
    }

}
